

import { ResPage } from "@/api/interface/index";
import { PORT2 } from "@/api/config/servicePort";

import http from "@/api";


export const GetFirstLevelCategorys = (params: Partial<Object>) => {
	return http.post<ResPage<Object>>(PORT2 + `category/GetFirstLevelCategorys`, params);
};

export const GetCategoryPros = (params: Partial<Object>) => {
	return http.post<ResPage<Object>>(PORT2 + `category/GetCategoryPros`, params);
};

